using System.ComponentModel.DataAnnotations.Schema;

namespace FileManager.Models
{
    public class FileTagRelation
    {
        public int Id { get; set; }
        public int FileId { get; set; }
        public int TagId { get; set; }

        [ForeignKey("FileId")]
        public FileItem File { get; set; }
        
        [ForeignKey("TagId")]
        public Tag Tag { get; set; }
    }
}